<?php

namespace models\Exception\Business;

use Exception;


class AccountException extends Exception {
    const ACCOUNT_IS_NOT_EXISTS = '用户提现账号信息不存在';

    const ACCOUNT_IS_NOT_EXISTS_NO = '400';

    const ACCOUNT_CREATE_FAILURE = '用户提现账号信息创建失败';

    const ACCOUNT_CREATE_FAILURE_NO = '422';

    const ACCOUNT_EDIT_FAILURE = '用户提现账号信息编辑失败';

    const ACCOUNT_EDIT_FAILURE_NO = '422';

    const ACCOUNT_ID_IS_EMPTY = '用户提现账号信息编号不能为空';

    const ACCOUNT_ID_IS_EMPTY_NO = '400';

    const ACCOUNT_IS_EXISTS = "已经创建过#channel#的提现账号，请勿重复创建";
    const ACCOUNT_IS_EXISTS_NO = "400";

    const ACCOUNT_DENIED = "无权修改别人的提现账号";
    const ACCOUNT_DENIED_NO = "403";

    const ACCOUNT_DELETE_FAILURE = "删除失败";
    const ACCOUNT_DELETE_FAILURE_NO = "422";

}
